﻿using CaterDal;
using CaterModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CaterBll
{
    public partial class TableInfoBll
    {
        private TableInfoDal dtiDal = new TableInfoDal();
        public List<TableInfo> GetList(Dictionary<string, string> dic)
        {
            return dtiDal.GetList(dic);
        }

        public int Insert(TableInfo dti)
        {
            return dtiDal.Insert(dti);
        }
        public int Update(TableInfo dti)
        {
            return dtiDal.Update(dti);
        }
        public int Delete(int id)
        {
            return dtiDal.Delete(id);
        }
    }
}
